<!DOCTYPE html>
<html lang="en">
  <head>
    <title>EditorView Class Reference</title>
    <link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
    <link rel="stylesheet" type="text/css" href="../css/highlight.css" />
    <meta charset='utf-8'>
    <script src="../js/jquery.min.js" defer></script>
    <script src="../js/jazzy.js" defer></script>
    
    <script src="../js/lunr.min.js" defer></script>
    <script src="../js/typeahead.jquery.js" defer></script>
    <script src="../js/jazzy.search.js" defer></script>
  </head>
  <body>
    <a name="//apple_ref/swift/Class/EditorView" class="dashAnchor"></a>
    <a title="EditorView Class Reference"></a>
    <header>
      <div class="content-wrapper">
        <p><a href="../index.html">Proton Docs</a> (68% documented)</p>
        <p class="header-right"><a href="https://github.com/rajdeep/proton"><img src="../img/gh.png" alt="GitHub"/>View on GitHub</a></p>
        <div class="header-right">
          <form role="search" action="../search.json">
            <input type="text" placeholder="Search documentation" data-typeahead>
          </form>
        </div>
      </div>
    </header>
    <div class="content-wrapper">
      <p id="breadcrumbs">
        <a href="../index.html">Proton Reference</a>
        <img id="carat" src="../img/carat.png" alt=""/>
        EditorView Class Reference
      </p>
    </div>
    <div class="content-wrapper">
      <nav class="sidebar">
        <ul class="nav-groups">
          <li class="nav-group-name">
            <a href="../Classes.html">Classes</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Classes/Attachment.html">Attachment</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/AttributesToggleCommand.html">AttributesToggleCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/BackgroundStyle.html">BackgroundStyle</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/BoldCommand.html">BoldCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/BorderStyle.html">BorderStyle</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/EditorCommandExecutor.html">EditorCommandExecutor</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/EditorView.html">EditorView</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/EditorViewContext.html">EditorViewContext</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/FontTraitToggleCommand.html">FontTraitToggleCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/GridCell.html">GridCell</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/GridView.html">GridView</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/ItalicsCommand.html">ItalicsCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/ListCommand.html">ListCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/ListIndentCommand.html">ListIndentCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/ListOutdentCommand.html">ListOutdentCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/ListTextProcessor.html">ListTextProcessor</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/ShadowStyle.html">ShadowStyle</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/StrikethroughCommand.html">StrikethroughCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/TableCell.html">TableCell</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/TableCellContentView.html">TableCellContentView</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/TableView.html">TableView</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/UnderlineCommand.html">UnderlineCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/Utility.html">Utility</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../Enums.html">Enumerations</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Enums/AsyncTextResolvingResult.html">AsyncTextResolvingResult</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/AttachmentSize.html">AttachmentSize</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/AttachmentType.html">AttachmentType</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/BackgroundMode.html">BackgroundMode</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/EditorContentMode.html">EditorContentMode</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/EditorContentType.html">EditorContentType</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/EditorHeight.html">EditorHeight</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/EditorKey.html">EditorKey</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/GridColumnWidth.html">GridColumnWidth</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/GridColumnWidth/ConstrainedWidth.html">– ConstrainedWidth</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/GridViewError.html">GridViewError</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/Indentation.html">Indentation</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/ListLineMarker.html">ListLineMarker</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/ListMarkerDebugOption.html">ListMarkerDebugOption</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/RoundedCornerStyle.html">RoundedCornerStyle</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/TableViewError.html">TableViewError</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../Extensions.html">Extensions</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Extensions/EditorContentName.html">EditorContentName</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/NSAttributedString.html">NSAttributedString</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/NSAttributedString/Key.html">– Key</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/NSParagraphStyle.html">NSParagraphStyle</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/NSRange.html">NSRange</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/String.html">String</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/TextProcessingPriority.html">TextProcessingPriority</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/UIFont.html">UIFont</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/UITextRange.html">UITextRange</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../Protocols.html">Protocols</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Protocols/AsyncAttachmentRenderingDelegate.html">AsyncAttachmentRenderingDelegate</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols.html#/s:6Proton23AsyncDeferredRenderableP">AsyncDeferredRenderable</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/AsyncTextResolving.html">AsyncTextResolving</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/AttachmentEncoding.html">AttachmentEncoding</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/AttachmentOffsetProviding.html">AttachmentOffsetProviding</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/AttachmentTypeIdentifying.html">AttachmentTypeIdentifying</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/AttributesDecoding.html">AttributesDecoding</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/BackgroundColorObserving.html">BackgroundColorObserving</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/BoundsObserving.html">BoundsObserving</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/DynamicBoundsProviding.html">DynamicBoundsProviding</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/EditorCommand.html">EditorCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/EditorCommandExecutorDelegate.html">EditorCommandExecutorDelegate</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/EditorContentDecoding.html">EditorContentDecoding</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/EditorContentEncoder.html">EditorContentEncoder</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/EditorContentEncoding.html">EditorContentEncoding</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/EditorContentIdentifying.html">EditorContentIdentifying</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/EditorContentView.html">EditorContentView</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/EditorListFormattingProvider.html">EditorListFormattingProvider</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/EditorTextEncoding.html">EditorTextEncoding</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/EditorViewDelegate.html">EditorViewDelegate</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/Focusable.html">Focusable</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/GridViewDelegate.html">GridViewDelegate</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/LineNumberProvider.html">LineNumberProvider</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/SequenceGenerator.html">SequenceGenerator</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/TableViewDelegate.html">TableViewDelegate</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/TextProcessing.html">TextProcessing</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../Structs.html">Structures</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Structs/AnyAttributeDecoding.html">AnyAttributeDecoding</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/AnyEditorContentAttachmentEncoding.html">AnyEditorContentAttachmentEncoding</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/AnyEditorContentDecoding.html">AnyEditorContentDecoding</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/AnyEditorTextEncoding.html">AnyEditorTextEncoding</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/AttachmentContentIdentifier.html">AttachmentContentIdentifier</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/AttachmentImage.html">AttachmentImage</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/AttachmentSelectionStyle.html">AttachmentSelectionStyle</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/CommandName.html">CommandName</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/DiamondBulletSequenceGenerator.html">DiamondBulletSequenceGenerator</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/EditorContent.html">EditorContent</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/EditorLine.html">EditorLine</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/GradientColors.html">GradientColors</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/GridCellStyle.html">GridCellStyle</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/GridCellStyle/BorderStyle.html">– BorderStyle</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/GridColumnConfiguration.html">GridColumnConfiguration</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/GridConfiguration.html">GridConfiguration</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/GridRowConfiguration.html">GridRowConfiguration</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/GridStyle.html">GridStyle</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/Gutter.html">Gutter</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/LineFormatting.html">LineFormatting</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/LineNumberFormatting.html">LineNumberFormatting</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/ListItem.html">ListItem</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/ListParser.html">ListParser</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/NumericSequenceGenerator.html">NumericSequenceGenerator</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/SquareBulletSequenceGenerator.html">SquareBulletSequenceGenerator</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../Typealiases.html">Type Aliases</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:6Proton15AttachmentRangea">AttachmentRange</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:6Proton14AttachmentViewa">AttachmentView</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:6Proton25AttachmentViewIdentifyinga">AttachmentViewIdentifying</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:6Proton10Attributesa">Attributes</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:6Proton9Processeda">Processed</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:6Proton22TextProcessingPrioritya">TextProcessingPriority</a>
              </li>
            </ul>
          </li>
        </ul>
      </nav>
      <article class="main-content">
        <section>
          <section class="section">
            <h1>EditorView</h1>
              <div class="declaration">
                <div class="language">
                  
                  <pre class="highlight swift"><code><span class="kd">open</span> <span class="kd">class</span> <span class="kt">EditorView</span> <span class="p">:</span> <span class="kt">UIView</span></code></pre>
<pre class="highlight swift"><code><span class="kd">extension</span> <span class="kt">EditorView</span><span class="p">:</span> <span class="kt">DefaultTextFormattingProviding</span></code></pre>

                </div>
              </div>
            <p>A scrollable, multiline text region capable of resizing itself based of the height of the content. Maximum height of <code>EditorView</code>
may be restricted using an absolute value or by using auto-layout constraints. Instantiation of <code>EditorView</code> is simple and straightforward
and can be used to host simple formatted text or complex layout containing multiple nested <code>EditorView</code> via use of <code><a href="../Classes/Attachment.html">Attachment</a></code>.</p>

          </section>
          <section class="section task-group-section">
            <div class="task-group">
              <ul>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC06scrollC0So08UIScrollC0Cvp"></a>
                    <a name="//apple_ref/swift/Property/scrollView" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC06scrollC0So08UIScrollC0Cvp">scrollView</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">scrollView</span><span class="p">:</span> <span class="kt">UIScrollView</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC06editorC7ContextAA0bcE0Cvp"></a>
                    <a name="//apple_ref/swift/Property/editorViewContext" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC06editorC7ContextAA0bcE0Cvp">editorViewContext</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Context for the current Editor</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">let</span> <span class="nv">editorViewContext</span><span class="p">:</span> <span class="kt"><a href="../Classes/EditorViewContext.html">EditorViewContext</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC23isAttributedTextPendingSbvp"></a>
                    <a name="//apple_ref/swift/Property/isAttributedTextPending" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC23isAttributedTextPendingSbvp">isAttributedTextPending</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Returns if <code><a href="../Classes/EditorView.html#/s:6Proton10EditorViewC14attributedTextSo18NSAttributedStringCvp">attributedText</a></code> change is pending. <code>AttributedText</code> may not have been applied if the <code>EditorView</code> is not already on
<code>window</code> and <code><a href="../Classes/EditorView.html#/s:6Proton10EditorViewC24forceApplyAttributedTextSbvp">forceApplyAttributedText</a></code> is not set to <code>true</code>.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">isAttributedTextPending</span><span class="p">:</span> <span class="kt">Bool</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC32asyncAttachmentRenderingDelegateAA05AsyncefG0_pSgvp"></a>
                    <a name="//apple_ref/swift/Property/asyncAttachmentRenderingDelegate" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC32asyncAttachmentRenderingDelegateAA05AsyncefG0_pSgvp">asyncAttachmentRenderingDelegate</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Enables asynchronous rendering of attachments.</p>
<div class="aside aside-note">
    <p class="aside-title">Note</p>
    Since attachments must me rendered on main thread, the rendering only continues when there is no user interaction. By default, rendering starts
immediately after the content is set in the <code>EditorView</code>. However, since attachments must render on main thread only, as soon as there is a user
interaction event, like scrolling, is received, the rendering is paused until scrolling stops and then, resumes again.

</div><div class="aside aside-important">
    <p class="aside-title">Important</p>
    This feature allows for almost instantaneous load of the editor content. However, this is only recommended when there are lots of attachments that
may be causing overall load time to be in unacceptable region. Since attachments are rendered one at a time, for simple content, the overall load time
mat be more than when synchronous mode, ie default, is used. The perceived performance/TTI will almost always be better with asynchronous rendering.

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">weak</span> <span class="k">var</span> <span class="nv">asyncAttachmentRenderingDelegate</span><span class="p">:</span> <span class="kt"><a href="../Protocols/AsyncAttachmentRenderingDelegate.html">AsyncAttachmentRenderingDelegate</a></span><span class="p">?</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC9textInputSo06UITextE0_pvp"></a>
                    <a name="//apple_ref/swift/Property/textInput" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC9textInputSo06UITextE0_pvp">textInput</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Returns <code>UITextInput</code> of current instance</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">textInput</span><span class="p">:</span> <span class="kt">UITextInput</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC16textInteractionsSaySo17UITextInteractionCGvp"></a>
                    <a name="//apple_ref/swift/Property/textInteractions" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC16textInteractionsSaySo17UITextInteractionCGvp">textInteractions</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">textInteractions</span><span class="p">:</span> <span class="p">[</span><span class="kt">UITextInteraction</span><span class="p">]</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC04textC8GesturesSaySo19UIGestureRecognizerCGvp"></a>
                    <a name="//apple_ref/swift/Property/textViewGestures" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC04textC8GesturesSaySo19UIGestureRecognizerCGvp">textViewGestures</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">textViewGestures</span><span class="p">:</span> <span class="p">[</span><span class="kt">UIGestureRecognizer</span><span class="p">]</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC26textDragInteractionEnabledSbvp"></a>
                    <a name="//apple_ref/swift/Property/textDragInteractionEnabled" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC26textDragInteractionEnabledSbvp">textDragInteractionEnabled</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">textDragInteractionEnabled</span><span class="p">:</span> <span class="kt">Bool</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC18lineNumberProviderAA04LineeF0_pSgvp"></a>
                    <a name="//apple_ref/swift/Property/lineNumberProvider" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC18lineNumberProviderAA04LineeF0_pSgvp">lineNumberProvider</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Line number provider to be used to show custom line numbers in gutter.</p>
<div class="aside aside-note">
    <p class="aside-title">Note</p>
    Only applicable when <code><a href="../Classes/EditorView.html#/s:6Proton10EditorViewC20isLineNumbersEnabledSbvp">isLineNumbersEnabled</a></code> is set to <code>true</code>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">lineNumberProvider</span><span class="p">:</span> <span class="kt"><a href="../Protocols/LineNumberProvider.html">LineNumberProvider</a></span><span class="p">?</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC20isLineNumbersEnabledSbvp"></a>
                    <a name="//apple_ref/swift/Property/isLineNumbersEnabled" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC20isLineNumbersEnabledSbvp">isLineNumbersEnabled</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">isLineNumbersEnabled</span><span class="p">:</span> <span class="kt">Bool</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC20lineNumberFormattingAA04LineeF0Vvp"></a>
                    <a name="//apple_ref/swift/Property/lineNumberFormatting" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC20lineNumberFormattingAA04LineeF0Vvp">lineNumberFormatting</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">lineNumberFormatting</span><span class="p">:</span> <span class="kt"><a href="../Structs/LineNumberFormatting.html">LineNumberFormatting</a></span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@M@Proton@objc(cs)EditorView(py)bounds"></a>
                    <a name="//apple_ref/swift/Property/bounds" class="dashAnchor"></a>
                    <a class="token" href="#/c:@M@Proton@objc(cs)EditorView(py)bounds">bounds</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">override</span> <span class="k">var</span> <span class="nv">bounds</span><span class="p">:</span> <span class="kt">CGRect</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC8delegateAA0bC8Delegate_pSgvp"></a>
                    <a name="//apple_ref/swift/Property/delegate" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC8delegateAA0bC8Delegate_pSgvp">delegate</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>An object interested in responding to editing and focus related events in the <code>EditorView</code>.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">open</span> <span class="k">weak</span> <span class="k">var</span> <span class="nv">delegate</span><span class="p">:</span> <span class="kt"><a href="../Protocols/EditorViewDelegate.html">EditorViewDelegate</a></span><span class="p">?</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC22listFormattingProviderAA0b4ListeF0_pSgvp"></a>
                    <a name="//apple_ref/swift/Property/listFormattingProvider" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC22listFormattingProviderAA0b4ListeF0_pSgvp">listFormattingProvider</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>List formatting provider to be used for rendering lists in the Editor.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">weak</span> <span class="k">var</span> <span class="nv">listFormattingProvider</span><span class="p">:</span> <span class="kt"><a href="../Protocols/EditorListFormattingProvider.html">EditorListFormattingProvider</a></span><span class="p">?</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC18registeredCommandsSayAA0B7Command_pGSgvp"></a>
                    <a name="//apple_ref/swift/Property/registeredCommands" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC18registeredCommandsSayAA0B7Command_pGSgvp">registeredCommands</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>List of commands supported by the editor.</p>
<div class="aside aside-note">
    <p class="aside-title">Note</p>
    
</div><ul>
<li>To support any command, set value to nil. Default behaviour.</li>
<li>To prevent any command to be executed, set value to be an empty array.</li>
</ul>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">registeredCommands</span><span class="p">:</span> <span class="p">[</span><span class="kt"><a href="../Protocols/EditorCommand.html">EditorCommand</a></span><span class="p">]?</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC18asyncTextResolversSayAA05AsyncE9Resolving_pGvp"></a>
                    <a name="//apple_ref/swift/Property/asyncTextResolvers" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC18asyncTextResolversSayAA05AsyncE9Resolving_pGvp">asyncTextResolvers</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Async Text Resolvers supported by the Editor.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">asyncTextResolvers</span><span class="p">:</span> <span class="p">[</span><span class="kt"><a href="../Protocols/AsyncTextResolving.html">AsyncTextResolving</a></span><span class="p">]</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC5frame7context16allowAutogrowingACSo6CGRectV_AA0bC7ContextCSbtcfc"></a>
                    <a name="//apple_ref/swift/Method/init(frame:context:allowAutogrowing:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC5frame7context16allowAutogrowingACSo6CGRectV_AA0bC7ContextCSbtcfc">init(frame:<wbr>context:<wbr>allowAutogrowing:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Initializes the EditorView</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="nf">init</span><span class="p">(</span><span class="nv">frame</span><span class="p">:</span> <span class="kt">CGRect</span> <span class="o">=</span> <span class="o">.</span><span class="n">zero</span><span class="p">,</span> <span class="nv">context</span><span class="p">:</span> <span class="kt"><a href="../Classes/EditorViewContext.html">EditorViewContext</a></span> <span class="o">=</span> <span class="o">.</span><span class="n">shared</span><span class="p">,</span> <span class="nv">allowAutogrowing</span><span class="p">:</span> <span class="kt">Bool</span> <span class="o">=</span> <span class="kc">true</span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>frame</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Frame to be used for <code>EditorView</code>.</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>context</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Optional context to be used. <code><a href="../Classes/EditorViewContext.html">EditorViewContext</a></code> is link between <code><a href="../Classes/EditorCommandExecutor.html">EditorCommandExecutor</a></code> and the <code>EditorView</code>.
<code><a href="../Classes/EditorCommandExecutor.html">EditorCommandExecutor</a></code> needs to have same context as the <code>EditorView</code> to execute a command on it. Unless you need to have
restriction around some commands to be restricted in execution on certain specific editors, the default value may be used.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC020editorInputAccessoryC0So6UIViewCSgvp"></a>
                    <a name="//apple_ref/swift/Property/editorInputAccessoryView" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC020editorInputAccessoryC0So6UIViewCSgvp">editorInputAccessoryView</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Input accessory view to be used</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">open</span> <span class="k">var</span> <span class="nv">editorInputAccessoryView</span><span class="p">:</span> <span class="kt">UIView</span><span class="p">?</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC011editorInputC0So6UIViewCSgvp"></a>
                    <a name="//apple_ref/swift/Property/editorInputView" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC011editorInputC0So6UIViewCSgvp">editorInputView</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Input view to be used</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">open</span> <span class="k">var</span> <span class="nv">editorInputView</span><span class="p">:</span> <span class="kt">UIView</span><span class="p">?</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@M@Proton@objc(cs)EditorView(im)initWithCoder:"></a>
                    <a name="//apple_ref/swift/Method/init(coder:)" class="dashAnchor"></a>
                    <a class="token" href="#/c:@M@Proton@objc(cs)EditorView(im)initWithCoder:">init(coder:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">required</span> <span class="kd">public</span> <span class="nf">init</span><span class="p">?(</span><span class="n">coder</span> <span class="nv">aDecoder</span><span class="p">:</span> <span class="kt">NSCoder</span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC20registeredProcessorsSayAA14TextProcessing_pGvp"></a>
                    <a name="//apple_ref/swift/Property/registeredProcessors" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC20registeredProcessorsSayAA14TextProcessing_pGvp">registeredProcessors</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>List of all the registered <code>TextProcessors</code> in the <code>EditorView</code>. This may be used by nested <code>EditorView</code> to inherit all the
text processors from the container <code>EditorView</code>.</p>
<h3 id='usage-example' class='heading'>Usage example</h3>
<pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">execute</span><span class="p">(</span><span class="n">on</span> <span class="nv">editor</span><span class="p">:</span> <span class="kt">EditorView</span><span class="p">)</span> <span class="p">{</span>
    <span class="k">let</span> <span class="nv">attachment</span> <span class="o">=</span> <span class="kt">PanelAttachment</span><span class="p">(</span><span class="nv">frame</span><span class="p">:</span> <span class="o">.</span><span class="n">zero</span><span class="p">)</span>
    <span class="k">let</span> <span class="nv">panel</span> <span class="o">=</span> <span class="n">attachment</span><span class="o">.</span><span class="n">view</span>
    <span class="n">panel</span><span class="o">.</span><span class="n">editor</span><span class="o">.</span><span class="nf">registerProcessors</span><span class="p">(</span><span class="n">editor</span><span class="o">.</span><span class="n">registeredProcessors</span><span class="p">)</span>
    <span class="n">editor</span><span class="o">.</span><span class="nf">insertAttachment</span><span class="p">(</span><span class="nv">in</span><span class="p">:</span> <span class="n">editor</span><span class="o">.</span><span class="n">selectedRange</span><span class="p">,</span> <span class="nv">attachment</span><span class="p">:</span> <span class="n">attachment</span><span class="p">)</span>
<span class="p">}</span>
</code></pre>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">registeredProcessors</span><span class="p">:</span> <span class="p">[</span><span class="kt"><a href="../Protocols/TextProcessing.html">TextProcessing</a></span><span class="p">]</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC17selectedTextRangeSo06UITextF0CSgvp"></a>
                    <a name="//apple_ref/swift/Property/selectedTextRange" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC17selectedTextRangeSo06UITextF0CSgvp">selectedTextRange</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">selectedTextRange</span><span class="p">:</span> <span class="kt">UITextRange</span><span class="p">?</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC06scrollC8DelegateSo08UIScrollcE0_pSgvp"></a>
                    <a name="//apple_ref/swift/Property/scrollViewDelegate" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC06scrollC8DelegateSo08UIScrollcE0_pSgvp">scrollViewDelegate</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">scrollViewDelegate</span><span class="p">:</span> <span class="kt">UIScrollViewDelegate</span><span class="p">?</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC20panGestureRecognizerSo09UIGestureF0Cvp"></a>
                    <a name="//apple_ref/swift/Property/panGestureRecognizer" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC20panGestureRecognizerSo09UIGestureF0Cvp">panGestureRecognizer</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">panGestureRecognizer</span><span class="p">:</span> <span class="kt">UIGestureRecognizer</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC22pinchGestureRecognizerSo07UIPincheF0CSgvp"></a>
                    <a name="//apple_ref/swift/Property/pinchGestureRecognizer" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC22pinchGestureRecognizerSo07UIPincheF0CSgvp">pinchGestureRecognizer</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">pinchGestureRecognizer</span><span class="p">:</span> <span class="kt">UIPinchGestureRecognizer</span><span class="p">?</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC33directionalPressGestureRecognizerSo09UIGestureG0CSgvp"></a>
                    <a name="//apple_ref/swift/Property/directionalPressGestureRecognizer" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC33directionalPressGestureRecognizerSo09UIGestureG0CSgvp">directionalPressGestureRecognizer</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">directionalPressGestureRecognizer</span><span class="p">:</span> <span class="kt">UIGestureRecognizer</span><span class="p">?</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC15placeholderTextSo18NSAttributedStringCSgvp"></a>
                    <a name="//apple_ref/swift/Property/placeholderText" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC15placeholderTextSo18NSAttributedStringCSgvp">placeholderText</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Placeholder text for the <code>EditorView</code>. The value can contain any attributes which is natively
supported in the <code>NSAttributedString</code>.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">placeholderText</span><span class="p">:</span> <span class="kt">NSAttributedString</span><span class="p">?</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC12contentInsetSo12UIEdgeInsetsVvp"></a>
                    <a name="//apple_ref/swift/Property/contentInset" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC12contentInsetSo12UIEdgeInsetsVvp">contentInset</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Gets or sets insets for additional scroll area around the content. Default value is UIEdgeInsetsZero.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">contentInset</span><span class="p">:</span> <span class="kt">UIEdgeInsets</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC29verticalScrollIndicatorInsetsSo06UIEdgeG0Vvp"></a>
                    <a name="//apple_ref/swift/Property/verticalScrollIndicatorInsets" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC29verticalScrollIndicatorInsetsSo06UIEdgeG0Vvp">verticalScrollIndicatorInsets</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">verticalScrollIndicatorInsets</span><span class="p">:</span> <span class="kt">UIEdgeInsets</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC19keyboardDismissModeSo08UIScrollc8KeyboardeF0Vvp"></a>
                    <a name="//apple_ref/swift/Property/keyboardDismissMode" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC19keyboardDismissModeSo08UIScrollc8KeyboardeF0Vvp">keyboardDismissMode</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">keyboardDismissMode</span><span class="p">:</span> <span class="kt">UIScrollView</span><span class="o">.</span><span class="kt">KeyboardDismissMode</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC15isScrollEnabledSbvp"></a>
                    <a name="//apple_ref/swift/Property/isScrollEnabled" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC15isScrollEnabledSbvp">isScrollEnabled</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">isScrollEnabled</span><span class="p">:</span> <span class="kt">Bool</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC18textContainerInsetSo12UIEdgeInsetsVvp"></a>
                    <a name="//apple_ref/swift/Property/textContainerInset" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC18textContainerInsetSo12UIEdgeInsetsVvp">textContainerInset</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Gets or sets the insets for the text container&rsquo;s layout area within the editor&rsquo;s content area</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">textContainerInset</span><span class="p">:</span> <span class="kt">UIEdgeInsets</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC17dataDetectorTypesSo06UIDataeF0Vvp"></a>
                    <a name="//apple_ref/swift/Property/dataDetectorTypes" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC17dataDetectorTypesSo06UIDataeF0Vvp">dataDetectorTypes</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>The types of data converted to tappable URLs in the editor view.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">dataDetectorTypes</span><span class="p">:</span> <span class="kt">UIDataDetectorTypes</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC13contentLengthSivp"></a>
                    <a name="//apple_ref/swift/Property/contentLength" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC13contentLengthSivp">contentLength</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Length of content within the Editor.</p>
<div class="aside aside-note">
    <p class="aside-title">Note</p>
    An attachment is only counted as a single character. Content length does not include
length of content within the Attachment that is hosting another <code>EditorView</code>.

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">contentLength</span><span class="p">:</span> <span class="kt">Int</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC10isEditableSbvp"></a>
                    <a name="//apple_ref/swift/Property/isEditable" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC10isEditableSbvp">isEditable</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Determines if the <code>EditorView</code> is editable or not.</p>
<div class="aside aside-note">
    <p class="aside-title">Note</p>
    Setting <code>isEditable</code> to <code>false</code> before setting the <code><a href="../Classes/EditorView.html#/s:6Proton10EditorViewC14attributedTextSo18NSAttributedStringCvp">attributedText</a></code> will make <code>EditorView</code> skip certain layout paths
and calculations for attachments containing <code>UIView</code>s, This is done primarily to improve the rendering performance of the <code>EditorView</code>
in case of text with large number of attachments.

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">isEditable</span><span class="p">:</span> <span class="kt">Bool</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC7isEmptySbvp"></a>
                    <a name="//apple_ref/swift/Property/isEmpty" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC7isEmptySbvp">isEmpty</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Determines if the editor is empty.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">isEmpty</span><span class="p">:</span> <span class="kt">Bool</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC17currentLayoutLineAA0bF0VSgvp"></a>
                    <a name="//apple_ref/swift/Property/currentLayoutLine" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC17currentLayoutLineAA0bF0VSgvp">currentLayoutLine</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Current line information based the caret position or selected range. If the selected range spans across multiple
lines, only the line information of the line containing the start of the range is returned.</p>
<div class="aside aside-note">
    <p class="aside-title">Note</p>
    This is based on the layout of text in the <code>EditorView</code> and not on the actual lines based on <code>\n</code>. The range may
contain multiple lines or part of different lines separated by <code>\n</code>.
To get lines based on new line characters, please use <code>contentLinesInRange(range)</code>, <code>previousContentLine(location)</code>
and <code>nextContentLine(location)</code>.

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">currentLayoutLine</span><span class="p">:</span> <span class="kt"><a href="../Structs/EditorLine.html">EditorLine</a></span><span class="p">?</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC15firstLayoutLineAA0bF0VSgvp"></a>
                    <a name="//apple_ref/swift/Property/firstLayoutLine" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC15firstLayoutLineAA0bF0VSgvp">firstLayoutLine</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>First line of content based on layout in the Editor. Nil if editor is empty.</p>
<div class="aside aside-note">
    <p class="aside-title">Note</p>
    This is based on the layout of text in the <code>EditorView</code> and not on the actual lines based on <code>\n</code>. The range may
contain multiple lines or part of different lines separated by <code>\n</code>.
To get lines based on new line characters, please use <code>contentLinesInRange(range)</code>, <code>previousContentLine(location)</code>
and <code>nextContentLine(location)</code>.

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">firstLayoutLine</span><span class="p">:</span> <span class="kt"><a href="../Structs/EditorLine.html">EditorLine</a></span><span class="p">?</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC14lastLayoutLineAA0bF0VSgvp"></a>
                    <a name="//apple_ref/swift/Property/lastLayoutLine" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC14lastLayoutLineAA0bF0VSgvp">lastLayoutLine</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Last line of content based on layout in the Editor. Nil if editor is empty.</p>
<div class="aside aside-note">
    <p class="aside-title">Note</p>
    This is based on the layout of text in the <code>EditorView</code> and not on the actual lines based on <code>\n</code>. The range may
contain multiple lines or part of different lines separated by <code>\n</code>.
To get lines based on new line characters, please use <code>contentLinesInRange(range)</code>, <code>previousContentLine(location)</code>
and <code>nextContentLine(location)</code>.

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">lastLayoutLine</span><span class="p">:</span> <span class="kt"><a href="../Structs/EditorLine.html">EditorLine</a></span><span class="p">?</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC12selectedTextSo18NSAttributedStringCvp"></a>
                    <a name="//apple_ref/swift/Property/selectedText" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC12selectedTextSo18NSAttributedStringCvp">selectedText</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Selected text in the editor.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">selectedText</span><span class="p">:</span> <span class="kt">NSAttributedString</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@M@Proton@objc(cs)EditorView(py)backgroundColor"></a>
                    <a name="//apple_ref/swift/Property/backgroundColor" class="dashAnchor"></a>
                    <a class="token" href="#/c:@M@Proton@objc(cs)EditorView(py)backgroundColor">backgroundColor</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Background color for the editor.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">override</span> <span class="k">var</span> <span class="nv">backgroundColor</span><span class="p">:</span> <span class="kt">UIColor</span><span class="p">?</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@M@Proton@objc(cs)EditorView(py)font"></a>
                    <a name="//apple_ref/swift/Property/font" class="dashAnchor"></a>
                    <a class="token" href="#/c:@M@Proton@objc(cs)EditorView(py)font">font</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Default font to be used by the Editor. A font may be overridden on whole or part of content in <code>EditorView</code> by an <code><a href="../Protocols/EditorCommand.html">EditorCommand</a></code> or
<code><a href="../Protocols/TextProcessing.html">TextProcessing</a></code> conformances.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">font</span><span class="p">:</span> <span class="kt">UIFont</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@M@Proton@objc(cs)EditorView(py)paragraphStyle"></a>
                    <a name="//apple_ref/swift/Property/paragraphStyle" class="dashAnchor"></a>
                    <a class="token" href="#/c:@M@Proton@objc(cs)EditorView(py)paragraphStyle">paragraphStyle</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Default paragraph style to be used by the Editor. The style may be overridden on whole or part of content in
<code>EditorView</code> by an <code><a href="../Protocols/EditorCommand.html">EditorCommand</a></code> or <code><a href="../Protocols/TextProcessing.html">TextProcessing</a></code> conformances.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">paragraphStyle</span><span class="p">:</span> <span class="kt">NSMutableParagraphStyle</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@M@Proton@objc(cs)EditorView(py)textColor"></a>
                    <a name="//apple_ref/swift/Property/textColor" class="dashAnchor"></a>
                    <a class="token" href="#/c:@M@Proton@objc(cs)EditorView(py)textColor">textColor</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Default text color to be used by the Editor. The color may be overridden on whole or part of content in
<code>EditorView</code> by an <code><a href="../Protocols/EditorCommand.html">EditorCommand</a></code> or <code><a href="../Protocols/TextProcessing.html">TextProcessing</a></code> conformances.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">textColor</span><span class="p">:</span> <span class="kt">UIColor</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC9maxHeightAA0bE0Ovp"></a>
                    <a name="//apple_ref/swift/Property/maxHeight" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC9maxHeightAA0bE0Ovp">maxHeight</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Maximum height that the <code>EditorView</code> can expand to. After reaching the maximum specified height, the editor becomes scrollable.</p>
<div class="aside aside-note">
    <p class="aside-title">Note</p>
    If both auto-layout constraints and <code>maxHeight</code> are used, the lower of the two height would be used as maximum allowed height.

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">maxHeight</span><span class="p">:</span> <span class="kt"><a href="../Enums/EditorHeight.html">EditorHeight</a></span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC24forceApplyAttributedTextSbvp"></a>
                    <a name="//apple_ref/swift/Property/forceApplyAttributedText" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC24forceApplyAttributedTextSbvp">forceApplyAttributedText</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Forces setting attributed text in <code>EditorView</code> even if it is not
yet in view hierarchy.</p>
<div class="aside aside-note">
    <p class="aside-title">Note</p>
    This may result in misplaced <code><a href="../Classes/Attachment.html">Attachment</a></code>s and is recommended to be set to <code>true</code> only in unit tests.

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">forceApplyAttributedText</span><span class="p">:</span> <span class="kt">Bool</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC14attributedTextSo18NSAttributedStringCvp"></a>
                    <a name="//apple_ref/swift/Property/attributedText" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC14attributedTextSo18NSAttributedStringCvp">attributedText</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Text to be set in the <code>EditorView</code></p>
<div class="aside aside-important">
    <p class="aside-title">Important</p>
    <code>attributedText</code> is not set for rendering in <code>EditorView</code> if the <code>EditorView</code> is not already in a <code>Window</code>. Value of <code>true</code>
for <code><a href="../Classes/EditorView.html#/s:6Proton10EditorViewC23isAttributedTextPendingSbvp">isAttributedTextPending</a></code> confirms that the text has not yet been rendered even though it is set in the <code>EditorView</code>.
Notification of text being set can be observed by subscribing to <code>didSetAttributedText</code> in <code><a href="../Protocols/EditorViewDelegate.html">EditorViewDelegate</a></code>.
Alternatively, <code><a href="../Classes/EditorView.html#/s:6Proton10EditorViewC24forceApplyAttributedTextSbvp">forceApplyAttributedText</a></code> may be set to <code>true</code> to always apply <code>attributedText</code> irrespective of <code>EditorView</code> being
in a <code>Window</code> or not.

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">attributedText</span><span class="p">:</span> <span class="kt">NSAttributedString</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC13nestedEditorsSayACGvp"></a>
                    <a name="//apple_ref/swift/Property/nestedEditors" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC13nestedEditorsSayACGvp">nestedEditors</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">nestedEditors</span><span class="p">:</span> <span class="p">[</span><span class="kt">EditorView</span><span class="p">]</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC4textSSvp"></a>
                    <a name="//apple_ref/swift/Property/text" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC4textSSvp">text</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">text</span><span class="p">:</span> <span class="kt">String</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC13selectedRangeSo8_NSRangeVvp"></a>
                    <a name="//apple_ref/swift/Property/selectedRange" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC13selectedRangeSo8_NSRangeVvp">selectedRange</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">selectedRange</span><span class="p">:</span> <span class="kt">NSRange</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC19lineFragmentPadding14CoreFoundation7CGFloatVvp"></a>
                    <a name="//apple_ref/swift/Property/lineFragmentPadding" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC19lineFragmentPadding14CoreFoundation7CGFloatVvp">lineFragmentPadding</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">lineFragmentPadding</span><span class="p">:</span> <span class="kt">CGFloat</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC16typingAttributesSDySo21NSAttributedStringKeyaypGvp"></a>
                    <a name="//apple_ref/swift/Property/typingAttributes" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC16typingAttributesSDySo21NSAttributedStringKeyaypGvp">typingAttributes</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Typing attributes to be used. Automatically resets when the selection changes.
To apply an attribute in the current position such that it is applied as text is typed,
the attribute must be added to <code>typingAttributes</code> collection.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">typingAttributes</span><span class="p">:</span> <span class="p">[</span><span class="kt">NSAttributedString</span><span class="o">.</span><span class="kt">Key</span> <span class="p">:</span> <span class="kt">Any</span><span class="p">]</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC14boundsObserverAA15BoundsObserving_pSgvp"></a>
                    <a name="//apple_ref/swift/Property/boundsObserver" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC14boundsObserverAA15BoundsObserving_pSgvp">boundsObserver</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>An object interested in observing the changes in bounds of the <code>Editor</code>, typically an <code><a href="../Classes/Attachment.html">Attachment</a></code>.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">boundsObserver</span><span class="p">:</span> <span class="kt"><a href="../Protocols/BoundsObserving.html">BoundsObserving</a></span><span class="p">?</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC13contentOffsetSo7CGPointVvp"></a>
                    <a name="//apple_ref/swift/Property/contentOffset" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC13contentOffsetSo7CGPointVvp">contentOffset</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Gets and sets the content offset.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">contentOffset</span><span class="p">:</span> <span class="kt">CGPoint</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC11contentSizeSo6CGSizeVvp"></a>
                    <a name="//apple_ref/swift/Property/contentSize" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC11contentSizeSo6CGSizeVvp">contentSize</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>The size of the content view.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">contentSize</span><span class="p">:</span> <span class="kt">CGSize</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC18linkTextAttributesSDySo21NSAttributedStringKeyaypGSgvp"></a>
                    <a name="//apple_ref/swift/Property/linkTextAttributes" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC18linkTextAttributesSDySo21NSAttributedStringKeyaypGSgvp">linkTextAttributes</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>The attributes to apply to links.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">linkTextAttributes</span><span class="p">:</span> <span class="p">[</span><span class="kt">NSAttributedString</span><span class="o">.</span><span class="kt">Key</span> <span class="p">:</span> <span class="kt">Any</span><span class="p">]</span><span class="o">!</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC12textEndRangeSo8_NSRangeVvp"></a>
                    <a name="//apple_ref/swift/Property/textEndRange" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC12textEndRangeSo8_NSRangeVvp">textEndRange</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Range of end of text in the <code>EditorView</code>. The range has always has length of 0.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">textEndRange</span><span class="p">:</span> <span class="kt">NSRange</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC25isContainedInAnAttachmentSbvp"></a>
                    <a name="//apple_ref/swift/Property/isContainedInAnAttachment" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC25isContainedInAnAttachmentSbvp">isContainedInAnAttachment</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Determines if the current Editor is contained in an attachment</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">isContainedInAnAttachment</span><span class="p">:</span> <span class="kt">Bool</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC11contentNameSo015PREditorContentE0CSgvp"></a>
                    <a name="//apple_ref/swift/Property/contentName" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC11contentNameSo015PREditorContentE0CSgvp">contentName</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Name of the content if the Editor is contained within an <code><a href="../Classes/Attachment.html">Attachment</a></code>.
This is done by recursive look-up of views in the <code><a href="../Classes/Attachment.html">Attachment</a></code> content view
i.e. the Editor may be nested in subviews within the contentView of Attachment.
The value is nil if the Editor is not contained within an <code><a href="../Classes/Attachment.html">Attachment</a></code>.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">contentName</span><span class="p">:</span> <span class="kt"><a href="../Structs/EditorContent.html">EditorContent</a></span><span class="o">.</span><span class="kt">Name</span><span class="p">?</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC8viewportSo6CGRectVvp"></a>
                    <a name="//apple_ref/swift/Property/viewport" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC8viewportSo6CGRectVvp">viewport</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Returns the visible bounds of the <code>EditorView</code> within a scrollable container.</p>
<div class="aside aside-note">
    <p class="aside-title">Note</p>
    If <code>EditorView</code> has defined a <code>ViewportProvider</code>, the <code>viewport</code> is calculated per the provider.
A <code>ViewportProvider</code> may be needed in cases where <code>EditorView</code> is hosted inside another <code>UIScrollView</code> and the
viewport needs to be calculated based on the viewport of container <code>UIScrollView</code>.

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">open</span> <span class="k">var</span> <span class="nv">viewport</span><span class="p">:</span> <span class="kt">CGRect</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC12visibleRangeSo8_NSRangeVSgvp"></a>
                    <a name="//apple_ref/swift/Property/visibleRange" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC12visibleRangeSo8_NSRangeVSgvp">visibleRange</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Returns the visible text range. In case of non-scrollable <code>EditorView</code>, entire range is <code>visibleRange</code>.
The range may be <code>nil</code> if it is queried before layout has begun</p>
<div class="aside aside-note">
    <p class="aside-title">Note</p>
    If <code>EditorView</code> has defined a <code>ViewportProvider</code>, the <code>visibleRange</code> is calculated per the <code><a href="../Classes/EditorView.html#/s:6Proton10EditorViewC8viewportSo6CGRectVvp">viewport</a></code> from provider.
A <code>ViewportProvider</code> may be needed in cases where <code>EditorView</code> is hosted inside another <code>UIScrollView</code> and the
viewport needs to be calculated based on the viewport of container <code>UIScrollView</code>.

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">visibleRange</span><span class="p">:</span> <span class="kt">NSRange</span><span class="p">?</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC19containerAttachmentAA0E0CSgvp"></a>
                    <a name="//apple_ref/swift/Property/containerAttachment" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC19containerAttachmentAA0E0CSgvp">containerAttachment</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Attachment containing the current Editor.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">containerAttachment</span><span class="p">:</span> <span class="kt"><a href="../Classes/Attachment.html">Attachment</a></span><span class="p">?</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC12nestingLevelSivp"></a>
                    <a name="//apple_ref/swift/Property/nestingLevel" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC12nestingLevelSivp">nestingLevel</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Nesting level of current Editor within other attachments containing Editors.
0 indicates that the Editor is not contained in an attachment.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">nestingLevel</span><span class="p">:</span> <span class="kt">Int</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC06isRootB0Sbvp"></a>
                    <a name="//apple_ref/swift/Property/isRootEditor" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC06isRootB0Sbvp">isRootEditor</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Returns if the <code>EditorView</code> is a root editor i.e. not contained in any <code><a href="../Classes/Attachment.html">Attachment</a></code></p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">isRootEditor</span><span class="p">:</span> <span class="kt">Bool</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC04rootB0ACvp"></a>
                    <a name="//apple_ref/swift/Property/rootEditor" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC04rootB0ACvp">rootEditor</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Returns the root editor of the current Editor. Returns <code>self</code> where the current editor is not contained within an <code><a href="../Classes/Attachment.html">Attachment</a></code>.</p>
<div class="aside aside-note">
    <p class="aside-title">Note</p>
    Note:This is different from <code><a href="../Classes/EditorView.html#/s:6Proton10EditorViewC06parentB0ACSgvp">parentEditor</a></code> which is immediate parent of the current editor

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">rootEditor</span><span class="p">:</span> <span class="kt">EditorView</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC06parentB0ACSgvp"></a>
                    <a name="//apple_ref/swift/Property/parentEditor" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC06parentB0ACSgvp">parentEditor</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p><code>EditorView</code> containing the current <code>EditorView</code> in an <code><a href="../Classes/Attachment.html">Attachment</a></code></p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">parentEditor</span><span class="p">:</span> <span class="kt">EditorView</span><span class="p">?</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC5clearyyF"></a>
                    <a name="//apple_ref/swift/Method/clear()" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC5clearyyF">clear()</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Clears the contents in the Editor.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">clear</span><span class="p">()</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC22autocapitalizationTypeSo024UITextAutocapitalizationE0Vvp"></a>
                    <a name="//apple_ref/swift/Property/autocapitalizationType" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC22autocapitalizationTypeSo024UITextAutocapitalizationE0Vvp">autocapitalizationType</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>The auto-capitalization style for the text object.
default is <code>UITextAutocapitalizationTypeSentences</code></p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">autocapitalizationType</span><span class="p">:</span> <span class="kt">UITextAutocapitalizationType</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC18autocorrectionTypeSo020UITextAutocorrectionE0Vvp"></a>
                    <a name="//apple_ref/swift/Property/autocorrectionType" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC18autocorrectionTypeSo020UITextAutocorrectionE0Vvp">autocorrectionType</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>The autocorrection style for the text object.
default is <code>UITextAutocorrectionTypeDefault</code></p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">autocorrectionType</span><span class="p">:</span> <span class="kt">UITextAutocorrectionType</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC17spellCheckingTypeSo011UITextSpelleF0Vvp"></a>
                    <a name="//apple_ref/swift/Property/spellCheckingType" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC17spellCheckingTypeSo011UITextSpelleF0Vvp">spellCheckingType</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>The spell-checking style for the text object.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">spellCheckingType</span><span class="p">:</span> <span class="kt">UITextSpellCheckingType</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC15smartQuotesTypeSo011UITextSmarteF0Vvp"></a>
                    <a name="//apple_ref/swift/Property/smartQuotesType" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC15smartQuotesTypeSo011UITextSmarteF0Vvp">smartQuotesType</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>The configuration state for smart quotes.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">smartQuotesType</span><span class="p">:</span> <span class="kt">UITextSmartQuotesType</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC15smartDashesTypeSo011UITextSmarteF0Vvp"></a>
                    <a name="//apple_ref/swift/Property/smartDashesType" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC15smartDashesTypeSo011UITextSmarteF0Vvp">smartDashesType</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>The configuration state for smart dashes.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">smartDashesType</span><span class="p">:</span> <span class="kt">UITextSmartDashesType</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC21smartInsertDeleteTypeSo011UITextSmartefG0Vvp"></a>
                    <a name="//apple_ref/swift/Property/smartInsertDeleteType" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC21smartInsertDeleteTypeSo011UITextSmartefG0Vvp">smartInsertDeleteType</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>The configuration state for the smart insertion and deletion of space characters.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">smartInsertDeleteType</span><span class="p">:</span> <span class="kt">UITextSmartInsertDeleteType</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC12keyboardTypeSo010UIKeyboardE0Vvp"></a>
                    <a name="//apple_ref/swift/Property/keyboardType" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC12keyboardTypeSo010UIKeyboardE0Vvp">keyboardType</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>The keyboard style associated with the text object.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">keyboardType</span><span class="p">:</span> <span class="kt">UIKeyboardType</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC18keyboardAppearanceSo010UIKeyboardE0Vvp"></a>
                    <a name="//apple_ref/swift/Property/keyboardAppearance" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC18keyboardAppearanceSo010UIKeyboardE0Vvp">keyboardAppearance</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>The appearance style of the keyboard that is associated with the text object</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">keyboardAppearance</span><span class="p">:</span> <span class="kt">UIKeyboardAppearance</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC13returnKeyTypeSo08UIReturneF0Vvp"></a>
                    <a name="//apple_ref/swift/Property/returnKeyType" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC13returnKeyTypeSo08UIReturneF0Vvp">returnKeyType</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>The visible title of the Return key.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">returnKeyType</span><span class="p">:</span> <span class="kt">UIReturnKeyType</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC29enablesReturnKeyAutomaticallySbvp"></a>
                    <a name="//apple_ref/swift/Property/enablesReturnKeyAutomatically" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC29enablesReturnKeyAutomaticallySbvp">enablesReturnKeyAutomatically</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>A Boolean value indicating whether the Return key is automatically enabled when the user is entering text.
default is <code>NO</code> (when <code>YES</code>, will automatically disable return key when text widget has zero-length contents, and will automatically enable when text widget has non-zero-length contents)</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">enablesReturnKeyAutomatically</span><span class="p">:</span> <span class="kt">Bool</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC17isSecureTextEntrySbvp"></a>
                    <a name="//apple_ref/swift/Property/isSecureTextEntry" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC17isSecureTextEntrySbvp">isSecureTextEntry</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Identifies whether the text object should disable text copying and in some cases hide the text being entered.
default is <code>NO</code></p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">isSecureTextEntry</span><span class="p">:</span> <span class="kt">Bool</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC15textContentTypeSo06UITexteF0aSgvp"></a>
                    <a name="//apple_ref/swift/Property/textContentType" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC15textContentTypeSo06UITexteF0aSgvp">textContentType</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>The semantic meaning expected by a text input area.
The textContentType property is to provide the keyboard with extra information about the semantic intent of the text document.
default is <code>nil</code></p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">textContentType</span><span class="p">:</span> <span class="kt">UITextContentType</span><span class="o">!</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC27allowsEditingTextAttributesSbvp"></a>
                    <a name="//apple_ref/swift/Property/allowsEditingTextAttributes" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC27allowsEditingTextAttributesSbvp">allowsEditingTextAttributes</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>A Boolean value indicating whether the text view allows the user to edit style information.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">allowsEditingTextAttributes</span><span class="p">:</span> <span class="kt">Bool</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC12isSelectableSbvp"></a>
                    <a name="//apple_ref/swift/Property/isSelectable" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC12isSelectableSbvp">isSelectable</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>A Boolean value indicating whether the receiver is selectable.
This property controls the ability of the user to select content and interact with URLs and text attachments. The default value is true.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">isSelectable</span><span class="p">:</span> <span class="kt">Bool</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC16textDragDelegateSo06UITexteF0_pSgvp"></a>
                    <a name="//apple_ref/swift/Property/textDragDelegate" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC16textDragDelegateSo06UITexteF0_pSgvp">textDragDelegate</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>A text drag delegate object for customizing the drag source behavior of a text view.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">textDragDelegate</span><span class="p">:</span> <span class="kt">UITextDragDelegate</span><span class="p">?</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC16textDropDelegateSo06UITexteF0_pSgvp"></a>
                    <a name="//apple_ref/swift/Property/textDropDelegate" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC16textDropDelegateSo06UITexteF0_pSgvp">textDropDelegate</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>The text drop delegate for interacting with a drop activity in the text view.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">textDropDelegate</span><span class="p">:</span> <span class="kt">UITextDropDelegate</span><span class="p">?</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@M@Proton@objc(cs)EditorView(im)didMoveToWindow"></a>
                    <a name="//apple_ref/swift/Method/didMoveToWindow()" class="dashAnchor"></a>
                    <a class="token" href="#/c:@M@Proton@objc(cs)EditorView(im)didMoveToWindow">didMoveToWindow()</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Subclasses can override it to perform additional actions whenever the window changes.</p>
<div class="aside aside-important">
    <p class="aside-title">Important</p>
    Overriding implementations must call <code>super.didMoveToWindow()</code>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">open</span> <span class="k">override</span> <span class="kd">func</span> <span class="nf">didMoveToWindow</span><span class="p">()</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@M@Proton@objc(cs)EditorView(im)sizeThatFits:"></a>
                    <a name="//apple_ref/swift/Method/sizeThatFits(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/c:@M@Proton@objc(cs)EditorView(im)sizeThatFits:">sizeThatFits(_:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Asks the view to calculate and return the size that best fits the specified size.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="k">override</span> <span class="kd">open</span> <span class="kd">func</span> <span class="nf">sizeThatFits</span><span class="p">(</span><span class="n">_</span> <span class="nv">size</span><span class="p">:</span> <span class="kt">CGSize</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">CGSize</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>size</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>The size for which the view should calculate its best-fitting size.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>A new size that fits the receiver’s subviews.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@M@Proton@objc(cs)EditorView(im)becomeFirstResponder"></a>
                    <a name="//apple_ref/swift/Method/becomeFirstResponder()" class="dashAnchor"></a>
                    <a class="token" href="#/c:@M@Proton@objc(cs)EditorView(im)becomeFirstResponder">becomeFirstResponder()</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Asks UIKit to make this object the first responder in its window.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">@discardableResult</span>
<span class="kd">public</span> <span class="k">override</span> <span class="kd">func</span> <span class="nf">becomeFirstResponder</span><span class="p">()</span> <span class="o">-&gt;</span> <span class="kt">Bool</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p><code>true</code> if this object is now the first-responder or <code>false</code> if it is not.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC16isFirstResponderSbyF"></a>
                    <a name="//apple_ref/swift/Method/isFirstResponder()" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC16isFirstResponderSbyF">isFirstResponder()</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Denotes of the Editor is first responder</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">isFirstResponder</span><span class="p">()</span> <span class="o">-&gt;</span> <span class="kt">Bool</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>true, if is first responder</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC21resetTypingAttributesyyF"></a>
                    <a name="//apple_ref/swift/Method/resetTypingAttributes()" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC21resetTypingAttributesyyF">resetTypingAttributes()</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Resets typing attributes back to default text color, font and paragraph style.
All other attributes are dropped.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">open</span> <span class="kd">func</span> <span class="nf">resetTypingAttributes</span><span class="p">()</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC18attachmentsInRangeySayAA10AttachmentC10attachment_So8_NSRangeV5rangetGAIF"></a>
                    <a name="//apple_ref/swift/Method/attachmentsInRange(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC18attachmentsInRangeySayAA10AttachmentC10attachment_So8_NSRangeV5rangetGAIF">attachmentsInRange(_:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">attachmentsInRange</span><span class="p">(</span><span class="n">_</span> <span class="nv">range</span><span class="p">:</span> <span class="kt">NSRange</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="p">[</span><span class="kt"><a href="../Typealiases.html#/s:6Proton15AttachmentRangea">AttachmentRange</a></span><span class="p">]</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC9textRange4fromSo06UITextE0CSgSo8_NSRangeV_tF"></a>
                    <a name="//apple_ref/swift/Method/textRange(from:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC9textRange4fromSo06UITextE0CSgSo8_NSRangeV_tF">textRange(from:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Converts given range to <code>UITextRange</code>, if valid</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">textRange</span><span class="p">(</span><span class="n">from</span> <span class="nv">range</span><span class="p">:</span> <span class="kt">NSRange</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">UITextRange</span><span class="p">?</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>range</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Range to convert</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p><code>UITextRange</code> representation of provided NSRange, if valid.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC27cancelPendingAsyncRenderingyyF"></a>
                    <a name="//apple_ref/swift/Method/cancelPendingAsyncRendering()" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC27cancelPendingAsyncRenderingyyF">cancelPendingAsyncRendering()</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Cancels any pending rendering when async rendering of attachment is schedules.</p>
<div class="aside aside-note">
    <p class="aside-title">Note</p>
    Asynchronous rendering is opt-in feature scheduled by providing <code><a href="../Classes/EditorView.html#/s:6Proton10EditorViewC32asyncAttachmentRenderingDelegateAA05AsyncefG0_pSgvp">asyncAttachmentRenderingDelegate</a></code> to <code>EditorView</code>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">cancelPendingAsyncRendering</span><span class="p">()</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC11markedRangeSo8_NSRangeVSgvp"></a>
                    <a name="//apple_ref/swift/Property/markedRange" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC11markedRangeSo8_NSRangeVSgvp">markedRange</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>The range of currently marked text in a document.
If there is no marked text, the value of the property is <code>nil</code>. Marked text is provisionally inserted text that requires user confirmation; it occurs in multistage text input. The current selection, which can be a caret or an extended range, always occurs within the marked text.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">markedRange</span><span class="p">:</span> <span class="kt">NSRange</span><span class="p">?</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC13setAttributes_2atySDySo21NSAttributedStringKeyaypG_So8_NSRangeVtF"></a>
                    <a name="//apple_ref/swift/Method/setAttributes(_:at:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC13setAttributes_2atySDySo21NSAttributedStringKeyaypG_So8_NSRangeVtF">setAttributes(_:<wbr>at:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">setAttributes</span><span class="p">(</span><span class="n">_</span> <span class="nv">attributes</span><span class="p">:</span> <span class="p">[</span><span class="kt">NSAttributedString</span><span class="o">.</span><span class="kt">Key</span> <span class="p">:</span> <span class="kt">Any</span><span class="p">],</span> <span class="n">at</span> <span class="nv">range</span><span class="p">:</span> <span class="kt">NSRange</span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC21getFullAttributedText5using2inSo18NSAttributedStringCAA27AttachmentContentIdentifierV_So8_NSRangeVSgtF"></a>
                    <a name="//apple_ref/swift/Method/getFullAttributedText(using:in:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC21getFullAttributedText5using2inSo18NSAttributedStringCAA27AttachmentContentIdentifierV_So8_NSRangeVSgtF">getFullAttributedText(using:<wbr>in:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Returns the full attributed text contained in the <code>EditorView</code> along with the ones in editors nested in contained Attachments.</p>
<div class="aside aside-note">
    <p class="aside-title">Note</p>
    An additional attribute with value of <code><a href="../Classes/Attachment.html#/s:6Proton10AttachmentC4nameSo19PREditorContentNameCSgvp">Attachment.name</a></code> is automatically added with key <code>NSAttributedString.Key.viewOnly</code>.
This can be changed by overriding default implementation of <code>getFullTextRangeIdentificationAttributes()</code> in <code><a href="../Classes/Attachment.html">Attachment</a></code>.

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">getFullAttributedText</span><span class="p">(</span><span class="n">using</span> <span class="nv">attachmentContentIdentifier</span><span class="p">:</span> <span class="kt"><a href="../Structs/AttachmentContentIdentifier.html">AttachmentContentIdentifier</a></span><span class="p">,</span> <span class="k">in</span> <span class="nv">range</span><span class="p">:</span> <span class="kt">NSRange</span><span class="p">?</span> <span class="o">=</span> <span class="kc">nil</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">NSAttributedString</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>attachmentContentIdentifier</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Identifier for opening and closing ranges for Attachment Content</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>Full attributed text</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC27setNeedsAsyncTextResolutionyyF"></a>
                    <a name="//apple_ref/swift/Method/setNeedsAsyncTextResolution()" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC27setNeedsAsyncTextResolutionyyF">setNeedsAsyncTextResolution()</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Sets async text resolution to resolve on next text layout pass.</p>
<div class="aside aside-note">
    <p class="aside-title">Note</p>
    Changing attributes also causes layout pass to be performed, and this any applicable <code>AsyncTextResolvers</code> will be executed.

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">setNeedsAsyncTextResolution</span><span class="p">()</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC24resolveAsyncTextIfNeededyyF"></a>
                    <a name="//apple_ref/swift/Method/resolveAsyncTextIfNeeded()" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC24resolveAsyncTextIfNeededyyF">resolveAsyncTextIfNeeded()</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Invokes async text resolution to resolve on demand.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">resolveAsyncTextIfNeeded</span><span class="p">()</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC16rangeOfCharacter2atSo8_NSRangeVSgSo7CGPointV_tF"></a>
                    <a name="//apple_ref/swift/Method/rangeOfCharacter(at:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC16rangeOfCharacter2atSo8_NSRangeVSgSo7CGPointV_tF">rangeOfCharacter(at:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Returns the range of character at the given point</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">rangeOfCharacter</span><span class="p">(</span><span class="n">at</span> <span class="nv">point</span><span class="p">:</span> <span class="kt">CGPoint</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">NSRange</span><span class="p">?</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>point</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Point to get range from</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>Character range if available, else nil</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC19contentLinesInRangeySayAA0B4LineVGSo8_NSRangeVF"></a>
                    <a name="//apple_ref/swift/Method/contentLinesInRange(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC19contentLinesInRangeySayAA0B4LineVGSo8_NSRangeVF">contentLinesInRange(_:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Gets the lines separated by newline characters from the given range.</p>
<div class="aside aside-note">
    <p class="aside-title">Note</p>
    Lines returned from this function do not contain terminating newline character in the text content.

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">contentLinesInRange</span><span class="p">(</span><span class="n">_</span> <span class="nv">range</span><span class="p">:</span> <span class="kt">NSRange</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="p">[</span><span class="kt"><a href="../Structs/EditorLine.html">EditorLine</a></span><span class="p">]</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>range</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Range to get lines from.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>Array of <code><a href="../Structs/EditorLine.html">EditorLine</a></code> from the given content range.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC19previousContentLine4fromAA0bF0VSgSi_tF"></a>
                    <a name="//apple_ref/swift/Method/previousContentLine(from:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC19previousContentLine4fromAA0bF0VSgSi_tF">previousContentLine(from:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Gets the previous line of content from the given location. A content line is defined by the presence of a
newline character.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">previousContentLine</span><span class="p">(</span><span class="n">from</span> <span class="nv">location</span><span class="p">:</span> <span class="kt">Int</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/EditorLine.html">EditorLine</a></span><span class="p">?</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>location</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Location to find line from, in reverse direction</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>Content line if a newline character exists before the current location, else nil</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC15nextContentLine4fromAA0bF0VSgSi_tF"></a>
                    <a name="//apple_ref/swift/Method/nextContentLine(from:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC15nextContentLine4fromAA0bF0VSgSi_tF">nextContentLine(from:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Gets the next line of content from the given location. A content line is defined by the presence of a
newline character.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">nextContentLine</span><span class="p">(</span><span class="n">from</span> <span class="nv">location</span><span class="p">:</span> <span class="kt">Int</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/EditorLine.html">EditorLine</a></span><span class="p">?</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>location</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Location to find line from, in forward direction</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>Content line if a newline character exists after the current location, else nil</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC15layoutLineAfteryAA0bE0VSgAFF"></a>
                    <a name="//apple_ref/swift/Method/layoutLineAfter(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC15layoutLineAfteryAA0bE0VSgAFF">layoutLineAfter(_:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Gets the line preceding the given line. Nil if the given line is invalid or is first line</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">layoutLineAfter</span><span class="p">(</span><span class="n">_</span> <span class="nv">line</span><span class="p">:</span> <span class="kt"><a href="../Structs/EditorLine.html">EditorLine</a></span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/EditorLine.html">EditorLine</a></span><span class="p">?</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>line</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Reference line</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p><code><a href="../Structs/EditorLine.html">EditorLine</a></code> after the given line. Nil if the Editor is empty or given line is last line in the Editor.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC16layoutLineBeforeyAA0bE0VSgAFF"></a>
                    <a name="//apple_ref/swift/Method/layoutLineBefore(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC16layoutLineBeforeyAA0bE0VSgAFF">layoutLineBefore(_:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Gets the line before the given line. Nil if the given line is invalid or is first line</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">layoutLineBefore</span><span class="p">(</span><span class="n">_</span> <span class="nv">line</span><span class="p">:</span> <span class="kt"><a href="../Structs/EditorLine.html">EditorLine</a></span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/EditorLine.html">EditorLine</a></span><span class="p">?</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>line</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Reference line</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p><code><a href="../Structs/EditorLine.html">EditorLine</a></code> before the given line. Nil if the Editor is empty or given line is first line in the Editor.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC5rects3forSaySo6CGRectVGSo8_NSRangeV_tF"></a>
                    <a name="//apple_ref/swift/Method/rects(for:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC5rects3forSaySo6CGRectVGSo8_NSRangeV_tF">rects(for:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Returns the rectangles for line fragments spanned by the range. Based on the span of the range,
multiple rectangles may be returned.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">rects</span><span class="p">(</span><span class="k">for</span> <span class="nv">range</span><span class="p">:</span> <span class="kt">NSRange</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="p">[</span><span class="kt">CGRect</span><span class="p">]</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>range</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Range to be queried.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>Array of rectangles for the given range.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC12rangeForRect_16performingLayoutSo8_NSRangeVSgSo6CGRectV_SbtF"></a>
                    <a name="//apple_ref/swift/Method/rangeForRect(_:performingLayout:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC12rangeForRect_16performingLayoutSo8_NSRangeVSgSo6CGRectV_SbtF">rangeForRect(_:<wbr>performingLayout:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Returns the range of text in the given rect.</p>
<div class="aside aside-note">
    <p class="aside-title">Note</p>
    This function returns a contiguous glyph range containing all glyphs that would need to be displayed in order to draw all glyphs that fall (even partially) within the bounding rect given.
This range might include glyphs which do not fall into the rect at all.  At most this will return the glyph range for the whole container.
When <code>performingLayout</code> is set to true, it will not generate glyphs or perform layout in attempting to answer, and thus may not be entirely correct.
Bounding rects are always in container coordinates.

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">rangeForRect</span><span class="p">(</span><span class="n">_</span> <span class="nv">rect</span><span class="p">:</span> <span class="kt">CGRect</span><span class="p">,</span> <span class="nv">performingLayout</span><span class="p">:</span> <span class="kt">Bool</span> <span class="o">=</span> <span class="kc">false</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">NSRange</span><span class="p">?</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>rect</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Rect to get range from</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>performingLayout</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>If <code>true</code>, layout is performed before returning the range. Defaults to <code>false</code></p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>Range for the given rect. <code>nil</code> if range is queried before layout has begun.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC9caretRect3forSo6CGRectVSi_tF"></a>
                    <a name="//apple_ref/swift/Method/caretRect(for:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC9caretRect3forSo6CGRectVSi_tF">caretRect(for:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Returns the caret rectangle for given position in the editor content.</p>
<div class="aside aside-note">
    <p class="aside-title">Note</p>
    If the location is beyond the bounds of content length, the last valid position is used to get caret rectangle. This function
only returns the rectangle denoting the caret positioning. The actual caret is not moved and no new carets are drawn.

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">caretRect</span><span class="p">(</span><span class="k">for</span> <span class="nv">position</span><span class="p">:</span> <span class="kt">Int</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">CGRect</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>position</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Location to be queried within the editor content.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>Rectangle for caret based on the line height and given location.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC4word2atSo18NSAttributedStringCSgSi_tF"></a>
                    <a name="//apple_ref/swift/Method/word(at:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC4word2atSo18NSAttributedStringCSgSi_tF">word(at:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Gets the word from text at given location in editor content</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">word</span><span class="p">(</span><span class="n">at</span> <span class="nv">location</span><span class="p">:</span> <span class="kt">Int</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">NSAttributedString</span><span class="p">?</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>location</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Location to be queried.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>Word  at the given location. Nil is there&rsquo;s no content.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC17attributeRangeFor_2atSo8_NSRangeVSgSo21NSAttributedStringKeya_SitF"></a>
                    <a name="//apple_ref/swift/Method/attributeRangeFor(_:at:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC17attributeRangeFor_2atSo8_NSRangeVSgSo21NSAttributedStringKeya_SitF">attributeRangeFor(_:<wbr>at:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Gets the full range of attribute at given location.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">attributeRangeFor</span><span class="p">(</span><span class="n">_</span> <span class="nv">attribute</span><span class="p">:</span> <span class="kt">NSAttributedString</span><span class="o">.</span><span class="kt">Key</span><span class="p">,</span> <span class="n">at</span> <span class="nv">location</span><span class="p">:</span> <span class="kt">Int</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">NSRange</span><span class="p">?</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>attribute</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Attribute to search for</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>location</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Location for the attribute. Location may lie anywhere in the range of attribute.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>Full range encompassing the given location. <code>nil</code> if attribute does not exist.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC14deleteBackwardyyF"></a>
                    <a name="//apple_ref/swift/Method/deleteBackward()" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC14deleteBackwardyyF">deleteBackward()</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Deletes text backwards</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">deleteBackward</span><span class="p">()</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC16insertAttachment2in10attachmentySo8_NSRangeV_AA0E0CtF"></a>
                    <a name="//apple_ref/swift/Method/insertAttachment(in:attachment:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC16insertAttachment2in10attachmentySo8_NSRangeV_AA0E0CtF">insertAttachment(in:<wbr>attachment:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Inserts an <code><a href="../Classes/Attachment.html">Attachment</a></code> in the <code>EditorView</code>.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">insertAttachment</span><span class="p">(</span><span class="k">in</span> <span class="nv">range</span><span class="p">:</span> <span class="kt">NSRange</span><span class="p">,</span> <span class="nv">attachment</span><span class="p">:</span> <span class="kt"><a href="../Classes/Attachment.html">Attachment</a></span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>range</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Range where the <code><a href="../Classes/Attachment.html">Attachment</a></code> should be inserted. If the range contains existing content, the content
will be replaced by the <code><a href="../Classes/Attachment.html">Attachment</a></code>.</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>attachment</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Attachment to be inserted.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC8setFocus2atySo8_NSRangeVSg_tF"></a>
                    <a name="//apple_ref/swift/Method/setFocus(at:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC8setFocus2atySo8_NSRangeVSg_tF">setFocus(at:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Sets the focus in the <code>EditorView</code></p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">setFocus</span><span class="p">(</span><span class="n">at</span> <span class="nv">range</span><span class="p">:</span> <span class="kt">NSRange</span><span class="p">?</span> <span class="o">=</span> <span class="kc">nil</span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC11resignFocusyyF"></a>
                    <a name="//apple_ref/swift/Method/resignFocus()" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC11resignFocusyyF">resignFocus()</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Makes the <code>EditorView</code> lose focus.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">resignFocus</span><span class="p">()</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC20scrollRangeToVisibleyySo8_NSRangeVF"></a>
                    <a name="//apple_ref/swift/Method/scrollRangeToVisible(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC20scrollRangeToVisibleyySo8_NSRangeVF">scrollRangeToVisible(_:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Makes the <code>EditorView</code> scroll to given range such that it is visible. No-op if the range is already visible.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">scrollRangeToVisible</span><span class="p">(</span><span class="n">_</span> <span class="nv">range</span><span class="p">:</span> <span class="kt">NSRange</span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>range</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Range of content to scroll to.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC19scrollRectToVisible_8animatedySo6CGRectV_SbtF"></a>
                    <a name="//apple_ref/swift/Method/scrollRectToVisible(_:animated:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC19scrollRectToVisible_8animatedySo6CGRectV_SbtF">scrollRectToVisible(_:<wbr>animated:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Makes the <code>EditorView</code> scroll to given range such that it is visible. No-op if the range is already visible.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">scrollRectToVisible</span><span class="p">(</span><span class="n">_</span> <span class="nv">rect</span><span class="p">:</span> <span class="kt">CGRect</span><span class="p">,</span> <span class="nv">animated</span><span class="p">:</span> <span class="kt">Bool</span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>range</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Range of content to scroll to.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC17invalidateDisplay3forySo8_NSRangeV_tF"></a>
                    <a name="//apple_ref/swift/Method/invalidateDisplay(for:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC17invalidateDisplay3forySo8_NSRangeV_tF">invalidateDisplay(for:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Invalidates the display of content at the given range.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">invalidateDisplay</span><span class="p">(</span><span class="k">for</span> <span class="nv">range</span><span class="p">:</span> <span class="kt">NSRange</span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>range</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Range to invalidate.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC16invalidateLayout3forySo8_NSRangeV_tF"></a>
                    <a name="//apple_ref/swift/Method/invalidateLayout(for:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC16invalidateLayout3forySo8_NSRangeV_tF">invalidateLayout(for:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Invalidates the layout of content at the given range. This will also fore layout of any <code><a href="../Classes/Attachment.html">Attachment</a></code> contained in the given range.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">invalidateLayout</span><span class="p">(</span><span class="k">for</span> <span class="nv">range</span><span class="p">:</span> <span class="kt">NSRange</span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>range</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Range to invalidate.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC8contents2inSayAA0B7ContentVGSo8_NSRangeVSg_tF"></a>
                    <a name="//apple_ref/swift/Method/contents(in:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC8contents2inSayAA0B7ContentVGSo8_NSRangeVSg_tF">contents(in:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Gets the contents within the <code>Editor</code>.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">contents</span><span class="p">(</span><span class="k">in</span> <span class="nv">range</span><span class="p">:</span> <span class="kt">NSRange</span><span class="p">?</span> <span class="o">=</span> <span class="kc">nil</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="p">[</span><span class="kt"><a href="../Structs/EditorContent.html">EditorContent</a></span><span class="p">]</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>range</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Range to be enumerated to get the contents. If no range is specified, entire content range is
enumerated.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC17transformContents2in5usingSay11EncodedTypeQzGSo8_NSRangeVSg_xtAA0B15ContentEncodingRzlF"></a>
                    <a name="//apple_ref/swift/Method/transformContents(in:using:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC17transformContents2in5usingSay11EncodedTypeQzGSo8_NSRangeVSg_xtAA0B15ContentEncodingRzlF">transformContents(in:<wbr>using:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Transforms <code><a href="../Structs/EditorContent.html">EditorContent</a></code> into given type. This function can also be used to encode content into a different type for  e.g. encoding the contents to JSON. Encoding
is  a type of transformation that can also be decoded.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="n">transformContents</span><span class="o">&lt;</span><span class="kt">T</span><span class="o">&gt;</span><span class="p">(</span><span class="k">in</span> <span class="nv">range</span><span class="p">:</span> <span class="kt">NSRange</span><span class="p">?</span> <span class="o">=</span> <span class="kc">nil</span><span class="p">,</span> <span class="n">using</span> <span class="nv">transformer</span><span class="p">:</span> <span class="kt">T</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="p">[</span><span class="kt">T</span><span class="o">.</span><span class="kt">EncodedType</span><span class="p">]</span> <span class="k">where</span> <span class="kt">T</span> <span class="p">:</span> <span class="kt"><a href="../Protocols/EditorContentEncoding.html">EditorContentEncoding</a></span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>range</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Range of <code>Editor</code> to transform the contents. By default, entire range is used.</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>transformer</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Transformer capable of transforming <code><a href="../Structs/EditorContent.html">EditorContent</a></code> to given type</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>Array of transformed contents based on given transformer.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC17replaceCharacters2in4withySo8_NSRangeV_So18NSAttributedStringCtF"></a>
                    <a name="//apple_ref/swift/Method/replaceCharacters(in:with:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC17replaceCharacters2in4withySo8_NSRangeV_So18NSAttributedStringCtF">replaceCharacters(in:<wbr>with:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Replaces the given range of content with the attributedString provided.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">replaceCharacters</span><span class="p">(</span><span class="k">in</span> <span class="nv">range</span><span class="p">:</span> <span class="kt">NSRange</span><span class="p">,</span> <span class="n">with</span> <span class="nv">attributedString</span><span class="p">:</span> <span class="kt">NSAttributedString</span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>range</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Range to replace.</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>attributedString</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Text to replace the range of content with.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC17replaceCharacters2in4withySo8_NSRangeV_SStF"></a>
                    <a name="//apple_ref/swift/Method/replaceCharacters(in:with:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC17replaceCharacters2in4withySo8_NSRangeV_SStF">replaceCharacters(in:<wbr>with:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Replaces the characters in the given range with the string provided.</p>
<div class="aside aside-attention">
    <p class="aside-title">Attention</p>
    The string provided will use the default <code><a href="../Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(py)font">font</a></code> and <code><a href="../Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(py)paragraphStyle">paragraphStyle</a></code> set in the <code>EditorView</code>. It will not retain any other attributes already applied on
the range of text being replaced by the <code>string</code>. If you would like add any other attributes, it is best to use <code>replaceCharacters</code> with the parameter value of
type <code>NSAttributedString</code> that may have additional attributes defined, as well as customised <code><a href="../Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(py)font">font</a></code> and <code><a href="../Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(py)paragraphStyle">paragraphStyle</a></code> applied.

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">replaceCharacters</span><span class="p">(</span><span class="k">in</span> <span class="nv">range</span><span class="p">:</span> <span class="kt">NSRange</span><span class="p">,</span> <span class="n">with</span> <span class="nv">string</span><span class="p">:</span> <span class="kt">String</span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>range</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Range of text to replace. For an empty <code>EditorView</code>, you may pass <code><a href="../Extensions/NSRange.html#/s:So8_NSRangeV6ProtonE4zeroABvpZ">NSRange.zero</a></code> to insert text at the beginning.</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>string</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>String to replace the range of text with. The string will use default <code><a href="../Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(py)font">font</a></code> and <code><a href="../Classes/EditorView.html#/c:@M@Proton@objc(cs)EditorView(py)paragraphStyle">paragraphStyle</a></code> defined in the <code>EditorView</code>.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC16appendCharactersyySo18NSAttributedStringCF"></a>
                    <a name="//apple_ref/swift/Method/appendCharacters(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC16appendCharactersyySo18NSAttributedStringCF">appendCharacters(_:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Appends the given attributed text to the end of content in <code>EditorView</code>.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">appendCharacters</span><span class="p">(</span><span class="n">_</span> <span class="nv">attributedString</span><span class="p">:</span> <span class="kt">NSAttributedString</span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>attributedString</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Text to append.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC16appendCharactersyySSF"></a>
                    <a name="//apple_ref/swift/Method/appendCharacters(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC16appendCharactersyySSF">appendCharacters(_:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Appends the given attributed text to the end of content in <code>EditorView</code>.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">appendCharacters</span><span class="p">(</span><span class="n">_</span> <span class="nv">string</span><span class="p">:</span> <span class="kt">String</span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>string</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Text to append.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC17registerProcessoryyAA14TextProcessing_pF"></a>
                    <a name="//apple_ref/swift/Method/registerProcessor(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC17registerProcessoryyAA14TextProcessing_pF">registerProcessor(_:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Registers the given text processor with the editor.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">registerProcessor</span><span class="p">(</span><span class="n">_</span> <span class="nv">processor</span><span class="p">:</span> <span class="kt"><a href="../Protocols/TextProcessing.html">TextProcessing</a></span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>processor</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Text processor to register</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC19unregisterProcessoryyAA14TextProcessing_pF"></a>
                    <a name="//apple_ref/swift/Method/unregisterProcessor(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC19unregisterProcessoryyAA14TextProcessing_pF">unregisterProcessor(_:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Unregisters the given text processor from the editor.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">unregisterProcessor</span><span class="p">(</span><span class="n">_</span> <span class="nv">processor</span><span class="p">:</span> <span class="kt"><a href="../Protocols/TextProcessing.html">TextProcessing</a></span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>processor</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Text processor to unregister</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC18registerProcessorsyySayAA14TextProcessing_pGF"></a>
                    <a name="//apple_ref/swift/Method/registerProcessors(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC18registerProcessorsyySayAA14TextProcessing_pGF">registerProcessors(_:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Registers the given text processors with the editor.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">registerProcessors</span><span class="p">(</span><span class="n">_</span> <span class="nv">processors</span><span class="p">:</span> <span class="p">[</span><span class="kt"><a href="../Protocols/TextProcessing.html">TextProcessing</a></span><span class="p">])</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>processors</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Text processors to register</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC20unregisterProcessorsyySayAA14TextProcessing_pGF"></a>
                    <a name="//apple_ref/swift/Method/unregisterProcessors(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC20unregisterProcessorsyySayAA14TextProcessing_pGF">unregisterProcessors(_:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Unregisters the given text processors from the editor.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">unregisterProcessors</span><span class="p">(</span><span class="n">_</span> <span class="nv">processors</span><span class="p">:</span> <span class="p">[</span><span class="kt"><a href="../Protocols/TextProcessing.html">TextProcessing</a></span><span class="p">])</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>processors</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Text processors to unregister</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC16registerCommandsyySayAA0B7Command_pGF"></a>
                    <a name="//apple_ref/swift/Method/registerCommands(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC16registerCommandsyySayAA0B7Command_pGF">registerCommands(_:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Registers the given commands with the Editor. Only registered commands can be executed if any is added to the Editor.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">registerCommands</span><span class="p">(</span><span class="n">_</span> <span class="nv">commands</span><span class="p">:</span> <span class="p">[</span><span class="kt"><a href="../Protocols/EditorCommand.html">EditorCommand</a></span><span class="p">])</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>commands</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Commands to register</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC18unregisterCommandsyySayAA0B7Command_pGF"></a>
                    <a name="//apple_ref/swift/Method/unregisterCommands(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC18unregisterCommandsyySayAA0B7Command_pGF">unregisterCommands(_:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Unregisters the given commands from the Editor. When all commands are unregistered, any command can be executed on the editor.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">unregisterCommands</span><span class="p">(</span><span class="n">_</span> <span class="nv">commands</span><span class="p">:</span> <span class="p">[</span><span class="kt"><a href="../Protocols/EditorCommand.html">EditorCommand</a></span><span class="p">])</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>commands</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Commands to unregister</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC15registerCommandyyAA0bE0_pF"></a>
                    <a name="//apple_ref/swift/Method/registerCommand(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC15registerCommandyyAA0bE0_pF">registerCommand(_:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Registers the given command with the Editor. Only registered commands can be executed if any is added to the Editor.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">registerCommand</span><span class="p">(</span><span class="n">_</span> <span class="nv">command</span><span class="p">:</span> <span class="kt"><a href="../Protocols/EditorCommand.html">EditorCommand</a></span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>commands</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Command to register</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC17unregisterCommandyyAA0bE0_pF"></a>
                    <a name="//apple_ref/swift/Method/unregisterCommand(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC17unregisterCommandyyAA0bE0_pF">unregisterCommand(_:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Unregisters the given command from the Editor. When all commands are unregistered, any command can be executed on the editor.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">unregisterCommand</span><span class="p">(</span><span class="n">_</span> <span class="nv">command</span><span class="p">:</span> <span class="kt"><a href="../Protocols/EditorCommand.html">EditorCommand</a></span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>commands</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Command to unregister</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC8relayout4sizeySo6CGSizeVSg_tF"></a>
                    <a name="//apple_ref/swift/Method/relayout(size:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC8relayout4sizeySo6CGSizeVSg_tF">relayout(size:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Relayout <code>EditorView</code> on demand. This may be required if the size appears incorrect, for e..g. when hosted in an ScrollView</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">relayout</span><span class="p">(</span><span class="nv">size</span><span class="p">:</span> <span class="kt">CGSize</span><span class="p">?</span> <span class="o">=</span> <span class="kc">nil</span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>size</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Size to use for relayout. When nil, default bounds are used.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@M@Proton@objc(cs)EditorView(im)canPerformAction:withSender:"></a>
                    <a name="//apple_ref/swift/Method/canPerformAction(_:withSender:)" class="dashAnchor"></a>
                    <a class="token" href="#/c:@M@Proton@objc(cs)EditorView(im)canPerformAction:withSender:">canPerformAction(_:<wbr>withSender:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">open</span> <span class="k">override</span> <span class="kd">func</span> <span class="nf">canPerformAction</span><span class="p">(</span><span class="n">_</span> <span class="nv">action</span><span class="p">:</span> <span class="kt">Selector</span><span class="p">,</span> <span class="n">withSender</span> <span class="nv">sender</span><span class="p">:</span> <span class="kt">Any</span><span class="p">?)</span> <span class="o">-&gt;</span> <span class="kt">Bool</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC20canPerformMenuAction_10withSenderSb10ObjectiveC8SelectorV_ypSgtF"></a>
                    <a name="//apple_ref/swift/Method/canPerformMenuAction(_:withSender:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC20canPerformMenuAction_10withSenderSb10ObjectiveC8SelectorV_ypSgtF">canPerformMenuAction(_:<wbr>withSender:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Determines if the given menu action can be invoked.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">open</span> <span class="kd">func</span> <span class="nf">canPerformMenuAction</span><span class="p">(</span><span class="n">_</span> <span class="nv">action</span><span class="p">:</span> <span class="kt">Selector</span><span class="p">,</span> <span class="n">withSender</span> <span class="nv">sender</span><span class="p">:</span> <span class="kt">Any</span><span class="p">?)</span> <span class="o">-&gt;</span> <span class="kt">Bool</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>action</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Action to be invoked</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>sender</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Sender of the action</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p><code>true</code> to invoke default behaviour.
<code>false</code> to conditionally disable/hide menu item. Display of menu item still depends on the context. E.g. Select is not shown
in case the editor is empty.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC5paste16attributedString4intoSbSo012NSAttributedF0C_So8_NSRangeVtF"></a>
                    <a name="//apple_ref/swift/Method/paste(attributedString:into:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC5paste16attributedString4intoSbSo012NSAttributedF0C_So8_NSRangeVtF">paste(attributedString:<wbr>into:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>This method attempt to simulate the <code>paste</code> method but with explicitly provided attributed string and insertion range.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">open</span> <span class="kd">func</span> <span class="nf">paste</span><span class="p">(</span><span class="nv">attributedString</span><span class="p">:</span> <span class="kt">NSAttributedString</span><span class="p">,</span> <span class="n">into</span> <span class="nv">range</span><span class="p">:</span> <span class="kt">NSRange</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Bool</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>attributedString</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Attributed string to be inserted</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>range</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Insertion range</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p><code>true</code> The paste operation was successful
<code>false</code> The paste operation was discarded</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC13addAttributes_2atySDySo21NSAttributedStringKeyaypG_So8_NSRangeVtF"></a>
                    <a name="//apple_ref/swift/Method/addAttributes(_:at:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC13addAttributes_2atySDySo21NSAttributedStringKeyaypG_So8_NSRangeVtF">addAttributes(_:<wbr>at:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Adds given attributes to the range provided. If the range already contains a value for an attribute being provided,
existing value will be overwritten by the new value provided in the attributes.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">addAttributes</span><span class="p">(</span><span class="n">_</span> <span class="nv">attributes</span><span class="p">:</span> <span class="p">[</span><span class="kt">NSAttributedString</span><span class="o">.</span><span class="kt">Key</span> <span class="p">:</span> <span class="kt">Any</span><span class="p">],</span> <span class="n">at</span> <span class="nv">range</span><span class="p">:</span> <span class="kt">NSRange</span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>attributes</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Attributes to be added.</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>range</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Range on which attributes should be applied to.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC16removeAttributes_2atySaySo21NSAttributedStringKeyaG_So8_NSRangeVtF"></a>
                    <a name="//apple_ref/swift/Method/removeAttributes(_:at:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC16removeAttributes_2atySaySo21NSAttributedStringKeyaG_So8_NSRangeVtF">removeAttributes(_:<wbr>at:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Removes the given attributes from the range provided. If the attribute does not exist in the range, it will be a no-op.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">removeAttributes</span><span class="p">(</span><span class="n">_</span> <span class="nv">attributes</span><span class="p">:</span> <span class="p">[</span><span class="kt">NSAttributedString</span><span class="o">.</span><span class="kt">Key</span><span class="p">],</span> <span class="n">at</span> <span class="nv">range</span><span class="p">:</span> <span class="kt">NSRange</span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>attributes</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Attributes to remove.</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>range</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Range to remove the attributes from.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC12addAttribute_5value2atySo21NSAttributedStringKeya_ypSo8_NSRangeVtF"></a>
                    <a name="//apple_ref/swift/Method/addAttribute(_:value:at:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC12addAttribute_5value2atySo21NSAttributedStringKeya_ypSo8_NSRangeVtF">addAttribute(_:<wbr>value:<wbr>at:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Adds given attribute to the range provided. If the attribute already exists in the range, it will be overwritten with the new value provided here.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">addAttribute</span><span class="p">(</span><span class="n">_</span> <span class="nv">name</span><span class="p">:</span> <span class="kt">NSAttributedString</span><span class="o">.</span><span class="kt">Key</span><span class="p">,</span> <span class="nv">value</span><span class="p">:</span> <span class="kt">Any</span><span class="p">,</span> <span class="n">at</span> <span class="nv">range</span><span class="p">:</span> <span class="kt">NSRange</span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>name</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Key of the attribute to add.</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>value</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Value of the attribute.</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>range</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Range to which attribute should be added.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC15removeAttribute_2atySo21NSAttributedStringKeya_So8_NSRangeVtF"></a>
                    <a name="//apple_ref/swift/Method/removeAttribute(_:at:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC15removeAttribute_2atySo21NSAttributedStringKeya_So8_NSRangeVtF">removeAttribute(_:<wbr>at:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Removes the attribute from given range. If the attribute does not exist in the range, it is a no-op.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">removeAttribute</span><span class="p">(</span><span class="n">_</span> <span class="nv">name</span><span class="p">:</span> <span class="kt">NSAttributedString</span><span class="o">.</span><span class="kt">Key</span><span class="p">,</span> <span class="n">at</span> <span class="nv">range</span><span class="p">:</span> <span class="kt">NSRange</span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>name</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Key of attribute to be removed.</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>range</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Range from which attribute should be removed.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC16resolveAsyncTextyyF"></a>
                    <a name="//apple_ref/swift/Method/resolveAsyncText()" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC16resolveAsyncTextyyF">resolveAsyncText()</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">resolveAsyncText</span><span class="p">()</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton10EditorViewC19isCommandRegisteredySbAA0E4NameVF"></a>
                    <a name="//apple_ref/swift/Method/isCommandRegistered(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton10EditorViewC19isCommandRegisteredySbAA0E4NameVF">isCommandRegistered(_:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Determines if the given command can be executed on the current editor. The command is allowed to be executed if
<code>requiresSupportedCommandsRegistration</code> is false or if the command has been registered with the editor.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">isCommandRegistered</span><span class="p">(</span><span class="n">_</span> <span class="nv">name</span><span class="p">:</span> <span class="kt"><a href="../Structs/CommandName.html">CommandName</a></span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Bool</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>command</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Command to validate</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p><code>true</code> if the command is registered with the Editor.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@CM@Proton@objc(cs)EditorView(py)viewForFirstBaselineLayout"></a>
                    <a name="//apple_ref/swift/Property/forFirstBaselineLayout" class="dashAnchor"></a>
                    <a class="token" href="#/c:@CM@Proton@objc(cs)EditorView(py)viewForFirstBaselineLayout">forFirstBaselineLayout</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">open</span> <span class="k">override</span> <span class="k">var</span> <span class="nv">forFirstBaselineLayout</span><span class="p">:</span> <span class="kt">UIView</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@CM@Proton@objc(cs)EditorView(py)viewForLastBaselineLayout"></a>
                    <a name="//apple_ref/swift/Property/forLastBaselineLayout" class="dashAnchor"></a>
                    <a class="token" href="#/c:@CM@Proton@objc(cs)EditorView(py)viewForLastBaselineLayout">forLastBaselineLayout</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">open</span> <span class="k">override</span> <span class="k">var</span> <span class="nv">forLastBaselineLayout</span><span class="p">:</span> <span class="kt">UIView</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
          </section>
        </section>
        <section id="footer">
          <p>&copy; 2024 <a class="link" href="" target="_blank" rel="external noopener">Rajdeep Kwatra</a>. All rights reserved. (Last updated: 2024-05-15)</p>
          <p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
        </section>
      </article>
    </div>
  </body>
</html>
